home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 36 / limitem.zip / LIMITEM.DOC next >
Text File  |  1987-12-08  |  4KB  |  74 lines

  1.                    Documentation for the LIMITEM.DOC program
  2.  
  3. The LIMITEM.EXE program is provided by Quarterdeck to allow DESQview users to 
  4. limit the amount of expanded memory an application can take (assuming it uses 
  5. expanded memory for its own purposes).
  6.  
  7. Generally programs that use the Intel (LIM) or AST (AQA) specifications will 
  8. take expanded memory only as they need it.  This would be the case for Lotus 2 
  9. and Symphony 1.1.  Other programs must be preconfigured to take a specific 
  10. amount.  Framework II and SuperCalc 3 fall into this category.
  11.  
  12. Other programs, when they start up, make a call to the expanded memory manager 
  13. to see how much expanded memory is available and then proceed to take all of it 
  14. on the assumption that no other program could use it while they were running 
  15. anyway (They were wrong - weren't they!).  We know that Think Tank does this, 
  16. there may be others.
  17.  
  18. If you find that after loading a program that uses expanded memory, your 
  19. available expanded memory as revealed by the DESQview Memory Status program 
  20. drops to zero, this program may be a candidate for LIMITEM.
  21.  
  22. LIMITEM.EXE is designed to be run from a batch file in window before the target 
  23. program.  LIMITEM will pass a parameter of the amount of expanded memory you 
  24. wish to provide for your programs use.  When the program makes the call to find 
  25. out how much expanded memory is available, it will receive the amount you 
  26. specify.
  27.  
  28. If you don't know already, the steps necessary to run a batch file in a 
  29. DESQview window are as follows:
  30.  
  31. 1.   Run Change a Program for your application and change the Command to Start 
  32.      Program to the name of the batch you are going to invoke.  You must use 
  33.      name prefix for your batch file that is different from the normal command 
  34.      since DOS gives lowest priority to BAT files and will run EXE or COM files 
  35.      first.
  36.  
  37. 2.   Turn off the Option that says "Close on Exit to DOS" - this is so the 
  38.      window will not close in the midst of running your batch file.
  39.  
  40. 3.   Write the batch file as follows: 
  41.  
  42.           a.   The first line of the batch file should be the LIMITEM command 
  43.                followed by a space and the amount of RAM in K you wish to make 
  44.                available to your application.  This may be any figure from 0 to 
  45.                whatever.  If you use 0, the application will not use any 
  46.                expanded memory.  If the number you use is more than the 
  47.                available expanded memory, LIMITEM will allocate as much 
  48.                expanded memory as possible.
  49.  
  50.           b.   The second line should be the Command to Start Program as it was 
  51.                listed in the program information before you replaced it with 
  52.                the name of the batch file.
  53.  
  54.           c.   The third line should contain the DOS command EXIT.  This will 
  55.                exit the current version of COMMAND.COM and close the window.  
  56.                In this way you will avoid finding yourself sitting in an empty 
  57.                DOS window after you quit out of your program.
  58.  
  59. Here is an example for Think Tank - the text in curly brackets are comments and 
  60. should not be in the batch file.
  61.  
  62. GOTANK.BAT     { Not named TANK.BAT since TANK.EXE would run instead }
  63.  
  64. {Contents of batch file follows}
  65.  
  66. LIMITEM 100    { Invokes LIMITEM.EXE and provides 100K of expanded memory }
  67. TANK.EXE       { Invokes the Think Tank program  }
  68. EXIT           { Exits COMMAND.COM and closes the window  }
  69.  
  70. { That's it! - Please note 100K is only an example, not necessarily what we}
  71. { think Think Tank needs.  That depends on the size of your outlines.}
  72.  
  73. The batch file should be put in the subdirectory with the application being 
  74. run.  The LIMITEM.EXE file should be put in the DESQview directory.